package com.yic.module.device.convert.inspectionRecord;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.inspectionRecord.vo.*;
import com.yic.module.device.dal.dataobject.inspectionRecord.InspectionRecordDO;

/**
 * 巡检/点检记录 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface InspectionRecordConvert {

    InspectionRecordConvert INSTANCE = Mappers.getMapper(InspectionRecordConvert.class);

    InspectionRecordDO convert(InspectionRecordCreateReqVO bean);

    InspectionRecordDO convert(InspectionRecordUpdateReqVO bean);

    InspectionRecordRespVO convert(InspectionRecordDO bean);

    List<InspectionRecordRespVO> convertList(List<InspectionRecordDO> list);

    PageResult<InspectionRecordRespVO> convertPage(PageResult<InspectionRecordDO> page);

    List<InspectionRecordExcelVO> convertList02(List<InspectionRecordDO> list);

}
